aa33db40b047a66b32a4770a5f138844378d45e9,drools-core/src/main/java/org/drools/reteoo/CollectNode.java,CollectNode,assertObject,#InternalFactHandle#PropagationContext#InternalWorkingMemory#,203
Before Change
for ( int i = 0; i < tuples.length; i++ ) {
ReteTuple tuple = (ReteTuple) tuples[i];
if ( this.constraints.isAllowedCachedRight( tuple ) ) {
this.retractTuple( tuple,
context,
workingMemory );
this.assertTuple( tuple,
context,
workingMemory );
After Change
for ( int i = 0; i < tuples.length; i++ ) {
ReteTuple tuple = (ReteTuple) tuples[i];
if ( this.constraints.isAllowedCachedRight( tuple ) ) {
this.modifyTuple( tuple,
handle,
context,
workingMemory );
}
}
}